procedure FillLine(dataName : Str255; x1, y1, x2, y2 : longint; fillNum : real);

Fills the line specified with the given fill number.

Also see:  FillRoi  SliceData